import java.util.Scanner;
public class plus{
    public static void main(String[] args){
        Plus();
    }
    public static void Plus(){
        try(Scanner sc = new Scanner(System.in)){
            System.out.println("请输入第一个数字：");
            int num1 = sc.nextInt();

            System.out.println("请输入第二个数字：");
            int num2 = sc.nextInt();

            System.out.println("两个数字相加得" + (num1 + num2));
        }
    }
}